<div class="$!{moduleName}-container">
    <form name="form_query" method="POST" class="form-horizontal" role="form"
          action="/cms_app/channel/result"
    >
        <input type="hidden" name="channelId" value="">
        <div class="form-group">
            <div class="col-md-4 ">
                <div class="input-group">
                    <span class="input-group-addon ">频道名称： </span> <input type="text"
                                                                          name="bundleIdSearch"

                                                                          class="form-control" placeholder="请输入" value="<%= (page.get('extraData') && page.get('extraData').bean)?page.get('extraData').bean.name:'' %>">
                </div>
            </div>


            <div class="col-sm-3 ">

                <!--  onclick="query()"-->
                <div class="btn-group">
                    <a href="javascript:;" class="btn bg-green-haze btn_query"
                    > <i class="fa fa-plus"></i> <span
                            class="hidden-480"> 查询 </span>
                    </a>
                </div>
                <div class="btn-group">
                    <a class="btn bg-green-haze btn_add_channel"
                       type="button"> 添加频道 </i>
                    </a>
                </div>
            </div>
        </div>

    </form>
    <!-- END DROPDOWNS PORTLET-->
    <table class="table table-striped table-bordered table-hover " id="datatable_ajax"
           xmlns:spring="http://www.w3.org/1999/XSL/Transform" xmlns:fmt="http://jboss.org/xml/ns/javax/validation/mapping">
        <thead>
        <tr class="heading">
            #foreach($!{item} in $!{fields})
            <th>$!{item.actualColumnName}</th>
            #end
            <th>operation</th>
        </tr>


        </thead>
        <tbody>
        <% _.each(page.get('content'), function(data) { %>
        <tr #foreach($!{primaryKey} in $!{introspectedTable.primaryKeyColumns})$!{primaryKey.javaProperty}="<%= data.$!{primaryKey.javaProperty} %>"#end>
            #foreach($!{item} in $!{fields})
            <td><%= data.$!{item.javaProperty} %></td>
            #end
            <td ><a  href="javascript:;" class="btn default btn-xs black btn_update"
            ><i class="fa fa-edit"></i>编辑</a>
                <a href="javascript:;" class="btn default btn-xs black btn_delete"
                ><i class="fa fa-trash-o"></i><fmt:message key="delete"/><spring:message code="delete"/></a></td>
        </tr>
        <% }); %>
        </tbody>
    </table>

</div>

